OpenRail Designer CONNECT Edition

Defining a Label

Using a Title

Civil labels are based on Text Favorites which must be set up before the label. The Text Favorite can include one or more Text Fields as well as other text.

  1. In Explorer, go to the OpenRoads Standards tab and select Label Definitions.
  2. Right-click > New to create a new and name the label definition. New Category is used to create folders or categories to organize label definitions.
  3. Select label definition, right-click > Manage to open the Label Manager.
  4. Select the Text Favorite that contains the Text Fields that will be labeled. Only one Text Favorite can be selected but the Text Favorite can contain many Texts Fields.
  5. Once a Text Favorite is selected the dialog will show the contents of the Text Favorite with each Text Field displayed as Target1, Target2, etc. In this example, the Text Favorite has two Text Fields.

    Defining Title to a Label

  6. Using the grid at the bottom of the dialog defines the Prompt Type and Prompt for each Text Field.
    1. Setting the Prompt Type to Select and entering a Prompt will require the user to select an element when this label is used. The appropriate properties of that element will replace the Text Field. In this example, Target 1 is a bearing Text Field. The Text Field is defined in the Text Favorite.

    2. The Prompt Type can also be set to the "Same as" another Target. In this example, Target2 is a length Text Field for the same element as Target1 (bearing Text Field). Instead of prompting to select the element twice, the Prompt Type for Target2 is set to the same as 1.
    3. Here is another example with ten Text Fields (Targets) that target two different elements, a point, and a linear geometry. Notice the color coding to help visually identify there are two "Select" elements. The red Text Fields target the point, and the green Text Fields target the linear geometry.

      Civil Labeler Manage Tool

  7. Select the Placement tab.

  8. Select the Location Method. The method determines where the label is located and where it is targeting.

    Civil Labeler Manager Tool dialog

    The available methods include.

    Data Point - Places a label for a single element in a plan, profile, and cross-section model. A target element is selected followed by a data point to locate the label. The Text Fields are computed from the target element(s). The location and rotation of the label are relative to a reference element which can be one of the target elements or a separately selected element. Data Point is a dynamic model that allows multiple labels to be placed without restarting the command.

    Intersection - Places a label at the intersection of two geometry elements in a planning model. The Text Fields are computed from the target elements. The location and rotation of the label are relative to the reference element which can be one of the target elements or a separately selected element. The intersection is a dynamic mode that allows multiple labels to be placed without restarting the command.

    Station Offset - Places a label at a specified station and offset location. The Text Fields are computed from the target elements. The Station and Offset can be one of the target elements or separately selected elements. The location and rotation of the label are relative to the reference element which can be one of the target elements or a separately selected element. Station Offset is a dynamic mode that allows multiple labels to be placed without restarting the command.

    Select Elements - Places labels for a single element or multiple elements in a selection set or fence in a model. The Text Fields are computed from the target elements. The location and rotation of the label are relative to a reference element which can be one of the target elements, a separately selected element, or the elements in the selection set or fence. Select Element is a dynamic mode that allows multiple labels to be placed without restarting the command.

    Locate Along – Places a series of labels at an interval along an element. The along element can be one of the target elements or a separately selected element. The location and rotation of the labels are relative to the element. The Label Offset defines the position of the label relative to each point being labeled. The Text Fields are computed from the target elements. The Locate Along method can be used in plan models.

    There are four interval types as explained in the table below.

    Interval Type Adjust to even stations at Start Station Adjust to even stations at Station Equations
    Increment No No
    Interval Stations No Yes
    Even Stations Yes No
    Even Stations (Drop Equations) Yes Yes

    Locate Projection Intersection - Places a series of labels at an interval by projecting from an along element to a second intersection element in a planning model. The projection can be perpendicular to either the along or the intersect element. The Project From element can be one of the target elements or a separately selected element. The location and rotation of the labels are relative to the intersection element. The Intersect Offset defines the position of the label relative to each point being labeled. The Text Fields are computed from the target elements.

    There are four interval types as explained in the table below.

    Interval Type Adjust to even stations at Start Station Adjust to even stations at Station Equations
    Increment No No
    Interval Stations No Yes
    Even Stations Yes No
    Even Stations (Drop Equations) Yes Yes

    XS Two Points - Places labels between two points (crossing linear elements) in a cross-section model. The Text Fields are computed from the target elements. The location and rotation of the label are relative to the theoretical line between the two points. XS Two Points is a dynamic mode that allows multiple labels to be placed without restarting the command.

  9. Select the Element Template which is typically associated with a Dimension Style and optionally a Text Style. See the Composition of a Civil Label section for details of what is stored in Element Template, Dimension Styles, and Text Styles. Not all settings are used by civil labels.
  10. Define Leader Location, Border Frame, Text Divider, and Rotation for the label.

  11. Define locks for the label.

How to Import Labels from an XML Label Definition File into glib

The process to import labels from the XML label definition file into glib is as given below.

  1. In Explorer, go to the OpenRoads Standards tab.
  2. Select Label Definitions.
  3. Right-click, Import. Labels are imported from an XML label definition to glib.